package com.zynn.service.module.es.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 袁毅雄
 * @description
 * @date 2018/11/1
 */
@Data
@Accessors(chain = true)
@TableName("`pictures`")
public class Pictures implements Serializable {

    @TableId(value = "pid", type = IdType.AUTO)
    private Integer id;

    @TableField("poriginal")
    private String original;

    @TableField("peid")
    private Integer eventId;

    @TableField("puploadtime")
    private Date uploadTime;

    @TableField("pmemorytime")
    private Date memoryTime;

    @TableField("pcover")
    private String cover;

    @TableField("ptime")
    private String time;

    @TableField("pshottime")
    private String shotTime;

    @TableField("pshotplace")
    private String shotPlace;

    @TableField("pstatus")
    private Integer status;

    @TableField("pOrigin")
    private Integer origin;

    @TableField("pGroupid")
    private Integer groupId;

    @TableField("puserid")
    private Integer userId;

    @TableField("pMain")
    private Integer main;

    @TableField("templateid")
    private Integer templateId;

    @TableField("update_time")
    private Date updateTime;

    @TableField("create_time")
    private Date createTime;


}
